package com.tedu;

public class basic {
    public static void main(String[] args) {
        OuterClass outerClass = new OuterClass();

        System.out.println( OuterClass.InnerClass.class.asSubclass(OuterClass.InnerClass.class));
    }
}
class OuterClass {
    private String name;
    private int age;

    class InnerClass {
        public InnerClass() {
            name = "cxuan";
            age = 25;
        }
    }
}